package com.itheimma.service.db;

import com.itheima.domain.db.User;

public interface UserService {

    //保存用户信息，返回用户id
    Long save(User user);

    //根据手机号查询用户
    User findByPhone(String phone);
}
